package com.pos.clothes.service;

import com.github.pagehelper.PageInfo;
import com.pos.clothes.pojo.Category;

import java.util.List;

public interface CategoryService {
    public List<Category> getCategory();


    public void insertCategory(Category category);
    public List<Category> searchCategory(String category_name);
    public int deleteCategory(int id);
    public void updateCategory(Category category);

    public PageInfo getList(int pageNum, int pageSize) throws Exception;
    public PageInfo searchCategory1(String category_name,int pageNum, int pageSize) throws Exception;
}
